<%@ page language="java" import="gt.service.*,java.util.*" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>修改密码</title>
</head>
<script type="text/javascript">

function check() 
{  var newpassword = document.getElementById("newpassword").value; 
   var confirmpassword = document.getElementById("confirmpassword").value; 
   if(newpassword != confirmpassword) {
      alert("两次密码不同，请重新输入");
   return false;
     }
   else {
      return true;
   }
}
</script>
<body>
<img alt="" src="/ClientManager/images/40.png">
<hr>
<form action="/ClientManager/alterPassword" method="post" target="right" onsubmit="return check()">
	<table  width="300px" border="1" cellspacing="0">
	<tr height="20px"><td align="center" valign="bottom" bgcolor="#FFCC33" width="150px"><font size="3">原来的密码:</font></td><td valign="bottom" width="100px"><input type="text" name="oldpassword" id="oldpassword"/></td></tr>
	<tr height="20px"><td align="center" valign="bottom" bgcolor="#FFCC33" width="150px"><font size="3">新密码:</font></td><td valign="bottom" width="100px"><input type="text" name="newpassword" id="newpassword"/></td></tr>
	<tr height="20px"><td align="center" valign="bottom" bgcolor="#FFCC33" width="150px"><font size="3">再次输入新密码:</font></td><td valign="bottom" width="100px"><input type="text" name="confirmpassword" id="confirmpassword"/></td></tr>
	<tr><td></td><td valign="top" colspan="3"><input style="font-size: 15px" type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input style="font-size: 15px" type="reset" value="重置"></td></tr>
	

 </table>
</form>
</body>
</html>